home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / get_fi_1 / docmaste.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-07-04  |  1.8 KB  |  64 lines

  1. VERSION 5.00
  2. Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
  3. Begin VB.Form frmDocMaster 
  4.    Caption         =   "Document 1"
  5.    ClientHeight    =   3195
  6.    ClientLeft      =   60
  7.    ClientTop       =   630
  8.    ClientWidth     =   6720
  9.    LinkTopic       =   "Form1"
  10.    MDIChild        =   -1  'True
  11.    ScaleHeight     =   3195
  12.    ScaleWidth      =   6720
  13.    Begin RichTextLib.RichTextBox Text1 
  14.       Height          =   3105
  15.       Left            =   45
  16.       TabIndex        =   0
  17.       Top             =   45
  18.       Width           =   6630
  19.       _ExtentX        =   11695
  20.       _ExtentY        =   5477
  21.       _Version        =   393217
  22.       Enabled         =   -1  'True
  23.       ScrollBars      =   3
  24.       TextRTF         =   $"DocMaster.frx":0000
  25.    End
  26.    Begin VB.Menu mnuFile 
  27.       Caption         =   "File"
  28.       Begin VB.Menu mnuFileOpen 
  29.          Caption         =   "Open"
  30.       End
  31.       Begin VB.Menu mnuFilePreview 
  32.          Caption         =   "Preview"
  33.       End
  34.       Begin VB.Menu mnuFileExit 
  35.          Caption         =   "Exit"
  36.       End
  37.    End
  38. Attribute VB_Name = "frmDocMaster"
  39. Attribute VB_GlobalNameSpace = False
  40. Attribute VB_Creatable = False
  41. Attribute VB_PredeclaredId = True
  42. Attribute VB_Exposed = False
  43. ' DocMaster.frm
  44. Option Explicit
  45. Private Sub Form_Load()
  46.     Text1.Move 0, 0, frmFrame.ScaleWidth - 100, frmFrame.ScaleHeight - 100
  47.     mnuFileOpen_Click
  48. End Sub
  49. Private Sub Form_Unload(Cancel As Integer)
  50.     End
  51. End Sub
  52. Private Sub mnuFileOpen_Click()
  53.     Text1.LoadFile App.Path & "\Untitled.rtf"
  54. End Sub
  55. Private Sub mnuFilePreview_Click()
  56.     frmDocPreview.Show vbModal
  57.     If gprint = True Then
  58.          frmDocPreview.DocPrintProc
  59.     End If
  60. End Sub
  61. Private Sub mnuFileExit_Click()
  62.     End
  63. End Sub
  64.